package com.cjx.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
*@Description 授权中心启动类
*@Verson v1.0.0
*@Author cjunxian
*@Date
*/
@ComponentScan(basePackages = {"com.cjx"})
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.cjx.**.feign")
@MapperScan(basePackages = {"com.cjx.admin.dao"})
public class AdminServiceBootstrap {
    public static void main(String[] args) {
        SpringApplication.run(AdminServiceBootstrap.class,args);
    }
}
